home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Angela M. Cable',
- 'Copyright': '2002, for freeware distribution only',
- 'Description': "A watercolor effect.",
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Do(Environment):
- App.Do( Environment, 'LayerDuplicate', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'SelectLayer', {
- 'Path': (0,-1,[],App.Constants.Boolean.false),
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent
- }
- })
-
- App.Do( Environment, 'BrushStrokes', {
- 'Angle': 102,
- 'Bristles': 256,
- 'Color': (0,0,0),
- 'Density': 25,
- 'Length': 10,
- 'Opacity': 50,
- 'Softness': 20,
- 'Width': 4,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
- App.Do( Environment, 'SelectLayer', {
- 'Path': (0,1,[],App.Constants.Boolean.false),
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent
- }
- })
-
- App.Do( Environment, 'EdgePreservingSmooth', {
- 'SmoothingFactor': 30,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
- App.Do( Environment, 'LayerDuplicate', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'SelectLayer', {
- 'Path': (0,-1,[],App.Constants.Boolean.false),
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent
- }
- })
-
- App.Do( Environment, 'ColoredEdges', {
- 'Intensity': 7,
- 'Blur': 3,
- 'Color': (0,0,0),
- 'Luminance': 31,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
- App.Do( Environment, 'LayerProperties', {
- 'General': {
- 'Opacity': None,
- 'Name': None,
- 'IsVisible': None,
- 'IsTransparencyLocked': None,
- 'LinkSet': None,
- 'UseHighlight': None,
- 'PaletteHighlightColor': None,
- 'GroupLink': None,
- 'BlendMode': App.Constants.BlendMode.Dodge
- },
- 'BlendRanges': None,
- 'Path': (0,0,[],App.Constants.Boolean.false),
- 'BrightnessContrast': None,
- 'ChannelMixer': None,
- 'ColorBalance': None,
- 'CurveParams': None,
- 'HSL': None,
- 'Threshold': None,
- 'Levels': None,
- 'Posterize': None,
- 'Mask': None,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
- App.Do( Environment, 'LayerProperties', {
- 'General': {
- 'Opacity': None,
- 'Name': None,
- 'IsVisible': None,
- 'IsTransparencyLocked': None,
- 'LinkSet': None,
- 'UseHighlight': None,
- 'PaletteHighlightColor': None,
- 'GroupLink': None,
- 'BlendMode': App.Constants.BlendMode.HardLight
- },
- 'BlendRanges': None,
- 'Path': (0,1,[],App.Constants.Boolean.false),
- 'BrightnessContrast': None,
- 'ChannelMixer': None,
- 'ColorBalance': None,
- 'CurveParams': None,
- 'HSL': None,
- 'Threshold': None,
- 'Levels': None,
- 'Posterize': None,
- 'Mask': None,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
-